# Uncomment the next line to define a global platform for your project


platform :ios, '8.0'
use_frameworks!

workspace 'HJDemoTwo.xcworkspace'
project 'HJDemoTwo/HJDemoTwo.xcodeproj'
project 'HJModulesTwo/HJModulesTwo.xcodeproj'

ModuleList = ['HJModulesTwo', 'HJModulesThree']

def shared_pods
  pod 'Masonry'
end

target 'HJDemoTwo' do
  project 'HJDemoTwo/HJDemoTwo.xcodeproj'
  shared_pods

end


ModuleList.each do |m|
  target m do
    project 'HJModulesTwo/HJModulesTwo.xcodeproj'
    shared_pods
  end
end

#post_install do |installer|
#  installer.pods_project.targets.each do |target|
#    target.build_configurations.each do |config|
#      config.build_settings['VALID_ARCHS'] = 'arm64 armv7 armv7s'
#      config.build_settings['SDKROOT'] = 'iphoneos'
#    end
#  end
#end
